package com.artic.base.xml;


import javax.xml.bind.ValidationEvent;
import javax.xml.bind.ValidationEventHandler;

/**
 * If an application needs to implement customized event handling, it must
 * implement this interface and then register it with either the 
 * {@link Unmarshaller#setEventHandler(ValidationEventHandler) Unmarshaller}, 
 * the {@link Validator#setEventHandler(ValidationEventHandler) Validator}, or 
 * the {@link Marshaller#setEventHandler(ValidationEventHandler) Marshaller}.  
 * The Provider will then report validation errors and warnings encountered
 * during the unmarshal, marshal, and validate operations to these event 
 * handlers.
 * 
 * @author czarnik_a
 *
 */
public class XMLValidationHandler implements ValidationEventHandler {

	/**
	 * Receive notification of a validation warning or error.
	 */
	
	public boolean handleEvent(ValidationEvent arg0) {
		return false;
	}

}
